Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> div.scroll { background-color: #00FFFF; width: 100px; height: 100px; overflow: scroll; } div.hidden { background-color: #00FF00; width: 100px; height: 100px; overflow: hidden; } </style> </head> <body> <p>The overflow property specifies what to do if the content of an element exceeds the size of the element's box.</p> <p>Result with overflow:scroll</p> <div class="scroll">You can use the overflow property when you want to have better control of the layout. The default value is visible.</div> <p>Result with overflow:hidden</p> <div class="hidden">You can use the overflow property when you want to have better control of the layout. The default value is visible.</div> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_overflow by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:23:31 GMT --> </html>
Result:
Try it Yourself - © w3schools.com